<?php
namespace catchAdmin\basics\model\search;
use think\facade\Db;

trait OfficialLogSearch
{
    //类型
    public function searchLogTypeAttr($query, $value, $data){
        return $query->whereLike('log_type', $value);
    }
}